package com.zzyl.nursing.domain;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;

/**
 * 护理任务对象 nursing_task
 * 
 * @author zzyl
 * @date 2025-10-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("护理任务实体")
public class NursingTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
    * 创维编号
    */
    @Excel(name = "床位号")
    @ApiModelProperty(value = "床位号")
    private String bedNumber;

    /**
    * 取消原因
    */
    @Excel(name = "取消原因")
    @ApiModelProperty(value = "取消原因")
    private String cancelReason;

    /**
    * 老人id
    */
    @Excel(name = "老人id")
    @ApiModelProperty(value = "老人id")
    private Integer elderId;

    /**
    * 老人姓名
    */
    @Excel(name = "老人姓名")
    @ApiModelProperty(value = "老人姓名")
    private String elderName;

    /**
    * 预计服务时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计服务时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计服务时间")
    private LocalDateTime estimatedServiceTime;

    /**
    * 执行记录
    */
    @Excel(name = "执行记录")
    @ApiModelProperty(value = "执行记录")
    private String mark;

    /**
    * 护理员id
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "护理员id", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "护理员id")
    private Integer nursingId;

    /**
    * 项目id
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "项目id", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "项目id")
    private  Integer projectId;

    /**
    * 护理项目名称
    */
    @Excel(name = "护理项目名称")
    @ApiModelProperty(value = "护理项目名称")
    private String projectName;

    /**
    * 实际服务时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际服务时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实际服务时间")
    private LocalDateTime realServiceTime;

    /**
    * 状态  1.待执行 2.已执行 3.已关闭
    */
    @Excel(name = "状态  1.待执行 2.已执行 3.已关闭")
    @ApiModelProperty(value = "状态  1.待执行 2.已执行 3.已关闭")
    private Integer status;

    /**
    * 任务图片
    */
    @Excel(name = "任务图片")
    @ApiModelProperty(value = "任务图片")
    private String taskImage;

    private Integer TaskType;

    private LocalDateTime startTime;

    /** 当前记录起始索引 */
    private Integer pageNum;

    /** 每页显示记录数 */
    private Integer pageSize;

    /**
     * 护理人员姓名列表
     */
    private String nursingName;


    /**
     * 护理人员级别名称
     */
    private String nursingLevelName;


}
